package com.szrt.maven_jdbc_demo.maven_jdbc_demo.entity;

public class StudentEntity {
	private Integer id;
	private String studentName;
	private Integer age;
	private String sex;
	public StudentEntity() {
		super();
	}
	public StudentEntity(Integer id, String studentName, Integer age, String sex) {
		super();
		this.id = id;
		this.studentName = studentName;
		this.age = age;
		this.sex = sex;
	}
	public Integer getId() {
		return id;
	}
	public void setId(Integer id) {
		this.id = id;
	}
	public String getStudentName() {
		return studentName;
	}
	public void setStudentName(String studentName) {
		this.studentName = studentName;
	}
	public Integer getAge() {
		return age;
	}
	public void setAge(Integer age) {
		this.age = age;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	@Override
	public String toString() {
		return "StudentEntity [id=" + id + ", studentName=" + studentName + ", age=" + age + ", sex=" + sex + "]";
	}
	
	
}
